package com.jsoft.entity;

import java.io.Serializable;
import java.util.Date;


/**
 * 开单表对应的实体类
 *
 * @author snkstart
 * @create 2023-02-20 19:39
 */
public class TicketOpen implements Serializable {

    private static final long serialVersionUID = 4176910747193800061L;
    private Integer id;
    private String no;
    private String enterpriseId;
    private String acquirerEnterpriseId;
    private Double amount;
    private Integer institutyId;
    private Date createTime;
    private Date expiryTime;
    private String paymentInterestType;
    private String status;
    private String uplinkAddress;
    private String remark;


    public TicketOpen() {
    }

    public TicketOpen(Integer id, String no, String enterpriseId, String acquirerEnterpriseId, Double amount, Integer institutyId, Date createTime, Date expiryTime, String paymentInterestType, String status, String uplinkAddress, String remark) {
        this.id = id;
        this.no = no;
        this.enterpriseId = enterpriseId;
        this.acquirerEnterpriseId = acquirerEnterpriseId;
        this.amount = amount;
        this.institutyId = institutyId;
        this.createTime = createTime;
        this.expiryTime = expiryTime;
        this.paymentInterestType = paymentInterestType;
        this.status = status;
        this.uplinkAddress = uplinkAddress;
        this.remark = remark;
    }

    public TicketOpen(String no, String enterpriseId, String acquirerEnterpriseId, Double amount, Integer institutyId, Date createDatetime, Date expiryTime, String paymentInterestType, String status, String uplinkAddress, String remark) {
        this.no = no;
        this.enterpriseId = enterpriseId;
        this.acquirerEnterpriseId = acquirerEnterpriseId;
        this.amount = amount;
        this.institutyId = institutyId;
        this.createTime = createDatetime;
        this.expiryTime = expiryTime;
        this.paymentInterestType = paymentInterestType;
        this.status = status;
        this.uplinkAddress = uplinkAddress;
        this.remark = remark;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(String enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getAcquirerEnterpriseId() {
        return acquirerEnterpriseId;
    }

    public void setAcquirerEnterpriseId(String acquirerEnterpriseId) {
        this.acquirerEnterpriseId = acquirerEnterpriseId;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Integer getInstitutyId() {
        return institutyId;
    }

    public void setInstitutyId(Integer institutyId) {
        this.institutyId = institutyId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getExpiryTime() {
        return expiryTime;
    }

    public void setExpiryTime(Date expiryTime) {
        this.expiryTime = expiryTime;
    }

    public String getPaymentInterestType() {
        return paymentInterestType;
    }

    public void setPaymentInterestType(String paymentInterestType) {
        this.paymentInterestType = paymentInterestType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getUplinkAddress() {
        return uplinkAddress;
    }

    public void setUplinkAddress(String uplinkAddress) {
        this.uplinkAddress = uplinkAddress;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "TicketOpen{" +
                "id=" + id +
                ", no='" + no + '\'' +
                ", enterpriseId='" + enterpriseId + '\'' +
                ", acquirerEnterpriseId='" + acquirerEnterpriseId + '\'' +
                ", amount=" + amount +
                ", institutyId=" + institutyId +
                ", createTime=" + createTime +
                ", expiryTime=" + expiryTime +
                ", paymentInterestType='" + paymentInterestType + '\'' +
                ", status='" + status + '\'' +
                ", uplinkAddress='" + uplinkAddress + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}

